export interface HttpGetOptions <T extends Record<string, any> = Record<string, any>> {
  url: string;
  params: T;
}

export interface HttpResponsor <T = any> {
  json(): T | Promise<T>;
}

export interface ReturnResult <T = any> {
  code: number;
  message: string;
  data: T;
}
